package com.bgIntlgn.client.entity.manufacture;

import java.util.Date;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

@View(name = "productionPlan_view", sqlToCreate = "select pp.id as id, pp.serial_nu as serial_nu, pp.type as type, "
		+ "pp.end_date as end_date, pp.state as state "
		+ "from production_plans as pp where pp.state=2 or pp.state=3 ")
public class ProductionPlanView implements Bean {

	private Long id;
	private String serialNu;
	private Integer type;
	private Date endDate;
	// 进度
	private double progress;
	private Integer state;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSerialNu() {
		return serialNu;
	}

	public void setSerialNu(String serialNu) {
		this.serialNu = serialNu;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public double getProgress() {
		return progress;
	}

	public void setProgress(double progress) {
		this.progress = progress;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}
